package com.todo.biz.infrastructure.entity.condition;

import com.todo.common.common.condition.BaseCondition;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author zhangwenxiang
 * @date 2024/3/11 17:03
 * @description
 */
@Data
public class CommentCondition extends BaseCondition {

    /**
     * 父id
     */
    @NotNull
    private Long parentId;
    private Integer businessScene;
    /**
     * 评论类型：内容评论、子评论
     */
    @NotNull
    private Integer commentType;
    /**
     * 评论人
     */
    private Long commentUser;
    /**
     * 被评论人
     */
    private Long beRepliedUser;
}
